From: Cosimo Cecchi Date: Sun, 17 Feb 2013 19:40:52 +0000 (-0500) Subject: Don't call beginItemDrag() for XDND X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4769 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=eab4c7bce9ac963eee17dd2b31af1dd12a24eeef;p=gnome-shell.git Don't call beginItemDrag() for XDND The dragged actors are not overview items. https://bugzilla.gnome.org/show_bug.cgi?id=686984 --- diff --git a/js/ui/layout.js b/js/ui/layout.js index f794b1079..062cbdd7a 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -1076,7 +1076,6 @@ const HotCorner = new Lang.Class({ if (!Main.overview.visible && !Main.overview.animationInProgress) { this.rippleAnimation(); Main.overview.showTemporarily(); - Main.overview.beginItemDrag(actor); } return DND.DragMotionResult.CONTINUE; diff --git a/js/ui/panel.js b/js/ui/panel.js index 7f023ca84..3bcc4ba1a 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -739,7 +739,6 @@ const ActivitiesButton = new Lang.Class({ if (pickedActor == this.actor) { if (!Main.overview.visible && !Main.overview.animationInProgress) { Main.overview.showTemporarily(); - Main.overview.beginItemDrag(actor); } }